package com.woniu.finance.service;


import com.woniu.finance.entity.Finance;
import com.woniu.finance.entity.RequestParam;
import com.woniu.finance.entity.Tender;
import com.woniu.finance.entity.vo.TendFullVO;
import com.woniu.finance.entity.vo.TenderPlatformAuditVO;
import com.woniu.finance.entity.vo.TenderVO;
import com.woniu.util.utils.HttpResult;
import com.woniu.util.utils.RequestResult;

import java.util.List;

/**
 * <p>
 * 投标表 服务类
 * </p>
 *
 * @author 杨鹏
 * @since 2023-04-25
 */
public interface ITenderService {

    HttpResult<?> saveTender(Tender tender);

    HttpResult<?> removeTender(Integer id);

    HttpResult<?> modifyTender(Tender tender);

    HttpResult<?> findAllTender();

    HttpResult<?> findTenderById(Integer id);

    HttpResult<?> findTenderByAnnualizedInterestRate1(Double annualizedInterestRate);

    HttpResult<?> findTenderByAnnualizedInterestRate2(Double annualizedInterestRate);

    HttpResult<?> findTenderByAnnualizedInterestRate3(Double annualizedInterestRate);

    HttpResult<?> queryTenderInfoByPage(RequestParam<Tender> param);

    /**
     * 查询满标的表
     * @param parm
     * @return
     */
    HttpResult queryTendfullByPage(RequestParam<TendFullVO> parm);

    /**
     * 修改表的状态，新曾放款记录表
     * @param list
     * @return
     */
    HttpResult insertLoadAndChangeTend(List<TendFullVO> list);

    /**
     * 查询平台待审核标的
     * @param param
     * @return
     */
    HttpResult queryTendPlatformAudit(RequestResult<TenderPlatformAuditVO> param);
}
